package com.hotelvip.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 用户升级会员日志表映射
 * @author Lzh
 * @date 2021/1/19 15:18
 */
@Data
@TableName("ht_user_vip_log")
@ApiModel(value = "用户升级会员日志对象",description = "用户升级会员日志对象VipUserLog")
@Accessors(chain = true)
public class VipUserLog extends BasePojo {

    private static final long serialVersionUID = -297727049421024367L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id主键自增",name = "id")
    private Long id;
    @ApiModelProperty(value = "发生的事件",name = "event")
    private String event;
    @ApiModelProperty(value = "用户id",name = "userId")
    private Long userId;
    @ApiModelProperty(value = "客户名称",name = "name")
    private String name;
    @ApiModelProperty(value = "vip卡号",name = "vipCode")
    private Long vipCode;
    @ApiModelProperty(value = "会员卡类型id",name = "cardId")
    private Long cardId;
    @ApiModelProperty(value = "vip卡名",name = "vipName")
    private String vipName;
    @ApiModelProperty(value = "发行人",name = "issuer")
    private String issuer;
    @ApiModelProperty(value = "发行商",name = "pub")
    private String pub;
    @ApiModelProperty(value = "会员卡类型",name = "vipType")
    private Integer vipType;
    @ApiModelProperty(value = "发行时间",name = "upload")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date upload;
    @ApiModelProperty(value = "结束时间",name = "dueTime")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date dueTime;
    @ApiModelProperty(value = "备注",name = "comment")
    private String comment;




}
